<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/base.jsp"%>
<!-- 查询慢性病政策信息-->
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">

<title>慢性病政策管理列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/admin.js"></script>
</head>
<body>
	<form method="post" action="" id="listform">
		<div class="panel admin-panel">
			<div class="panel-head">
				<strong class="icon-reorder">慢性病分类信息列表</strong>
			</div>
			<div class="padding border-bottom">
				<form id="form-add" method="post" class="form-x">
					<ul class="search" style="padding-left:10px;">
						<li><a class="button border-main"
							onclick="JavaScript:history.go(-1)"> 返回</a></li>

					</ul>
			</div>
			<table class="table table-hover text-center">
				<tr>
					<th>执行年度</th>
					<th>封顶线</th>
					<th>状态</th>
					<th>备注</th>
					<th>报销比例</th>
				</tr>
				<%
					String runYear = request.getParameter("runYear");
					String pageNo = request.getParameter("pageNo");
					int p = pageNo == null ? 1 : Integer.parseInt(pageNo);
					PolicyDao dao = new PolicyDao();
					String sql = "select * from policy where runYear='" + runYear + "'";
					Object[] params = {};
					Page pageBean = dao.queryOjectsByPage(sql, params, p, Constant.ROW);
				%>
				<%
					for (int i = 0; i < pageBean.getDatas().size(); i++) {

						Policy model = (Policy) pageBean.getDatas().get(i);
				%>
				<tr>
					<td><%=model.getRunYear()%></td>
					<td><%=model.getMaxline()%></td>
					<td><%=model.getStatus()%></td>
					<td><%=model.getRemark()%></td>
					<td><%=model.getRatio()%></td>
				</tr>
				<%
					}
				%>
			</table>
	</form>
</body>
</html>


